@extends('layout')
@section('content')
<div class="panel panel-info">
      <div class="panel-heading">
      <h3> <a class="glyphicon glyphicon-stats"></a></left>Información de Aplicados</h3>
      </div>
    </div>
                

<table id="insumos" class="table table-striped table-hover display" >
    <tr>
        <form method="put" action="store"> 
         <th>Ganado</th>
         <td> {{Form::select('id_ganado',array('0' => 'Seleccione')+Ganado::lists('cod_ganado','id'),null,array('class' => 'form-control','required'))}} </td>
       </tr>
       <tr>
         <th>Descripcion</th>
         <td>{{Form::textarea('descirpcion',null,array('class'=>'form-control','placeholder'=>"Descripcion",'required'))}} </td>
       </tr>
       <tr>
       <th>Insumo</th>
        <td>{{Form::select('id_insumo',array('0' => 'Seleccione')+Insumo::lists('Nombre','id'),null,array('class' => 'form-control','required'))}}</td>
    </tr>
    <tr>
       <th>Activo</th> 
       <td>
        <select name="activo" id="activo" class="form-control">
                    <option value="0">Inactivo</option>
                    <option value="1">Activo</option>
                    </select>
       </td>
   </tr>
   <tr>
       <th>Fecha:</th>
             <td><input type="date" id="fecha" name="fecha" class="form-control"></td>
  </tr> 
        
</table>                   
        <th>{{Form::submit('Guardar', array('class'=>'btn btn-info'))}}{{Form::close()}}</th>
         <a href="{{route('insumos.index')}}"><button type="submit" class="btn btn-default"> Regresar</button></a>
</div>
</form>
         </div>
</html>
@stop


   

   